package com.flowerSystem.mapper;

import com.flowerSystem.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    public void removeUserRole(int userid);

    public void insertUserRole(int userid);

    public int insertUser(User user);

    public List<User> getUser();

    int userRegist(User user);

    int userRoleAdd(int userId);

    List<User> selectUserList();
}
